public class Student
{
    private String name;
    private String studentId;
    private String className;
    private String gender;
    private int age;
    private String personality;

    public Student(String name, String studentId, String className, String gender, int age, String personality)
    {
        this.name = name;
        this.studentId = studentId;
        this.className = className;
        this.gender = gender;
        this.age = age;
        this.personality = personality;
    }

    public String getName() { return name; }
    public String getStudentId() { return studentId; }
    public String getClassName() { return className; }
    public String getGender() { return gender; }
    public int getAge() { return age; }
    public String getPersonality() { return personality; }

    public String shuchu()
    {
        return "姓名: " + name + ", 学号: " + studentId + ", 班级: "
                + className +
                ", 性别: " + gender + ", 年龄: " + age + ", 性格: "
                + personality;
    }

    public static void main(String[] args)
    {
        Student student1 = new Student("刘大", "202330163043", "地信", "男", 19, "善"
        );
        Student student2 = new Student("张三", "202330163099", "地信", "男", 18, "好"
        );
        Student student3 = new Student("李四", "202330163088", "地信", "男", 17, "贤"
        );

        System.out.println(student1.shuchu());
        System.out.println(student2.shuchu());
        System.out.println(student3.shuchu());
    }
}